package com.neusoft.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 用户（商城会员）
 */
public class User {

    @Override
	public String toString() {
		return "User [user_id=" + user_id + ", account=" + account
				+ ", nickName=" + nickName + ", password=" + password
				+ ", phoneNumber=" + phoneNumber + "]";
	}

	private Integer user_id;

    /**
     * 登录账号（唯一）
     */
    private String account;

    /**
     * 用户昵称
     */
    private String nickName;
    
    /**
     * 散列密码
     */
	@JsonIgnore
    private String password;

    /**
     * 电话号码（唯一）
     */
    private String phoneNumber;

    public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}





    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}





}
